﻿using SQLite;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace com.IronOne.BoardPACWinAppDAO.DB
{
    public class Meeting
    {
        [PrimaryKey]
        public int MeetingId { get; set; }
        [NotNull]
        public DateTime Date { get; set; }
        public int CategoryId { get; set; }
        public int PaperCount { get; set; }
        public string AbsentMemberIds { get; set; }
        public string PresentMemberIds { get; set; }
        //public string TimeStamp { get; set; }
        public string Info { get; set; }
        public DateTime? LastUpdatedDateTime { get; set; }
        public string Description { get; set; }
        public string MemberAttendence { get; set; }
        [NotNull]
        public string MeetingName { get; set; }
        public string MeetingOrganizer { get; set; }
        public byte MeetingStatus { get; set; }
        public string Actions { get; set; }
        private int _meetingType = 0;
        public int MeetingType
        {
            get { return _meetingType; }
            set { _meetingType = value; }
        }
        private byte _isTentative = 0;
        public byte IsTentative
        {
            get { return _isTentative; }
            set { _isTentative = value; }
        }
        [NotNull]
        public int SubCategoryId { get; set; }
        public string MemberIndividualAttendance { get; set; }
        public string Venue { get; set; }
        public string Address { get; set; }
        public string StartTime { get; set; }
        public string EndTime { get; set; }
        public string Longitude { get; set; }
        public string Latitude { get; set; }
        [MaxLength(500)]
        public string MeetingNote { get; set; }
        public string AttendenceReason { get; set; }
        public byte IsUpdated { get; set; }
    }
}
